package com.coscoshipping.rams.demo.pojo.vo;


import com.coscoshipping.rams.orm.annotation.SensitiveData;
import com.coscoshipping.rams.orm.annotation.SensitiveField;
import com.coscoshipping.rams.orm.enums.SensitiveTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author zhaoyin.yang
 * @description TODO
 * @date 2024-04-03  16:30
 * @Version 1.0
 */
@Data
@SensitiveData
public class AEncryptVO {

    @Schema(description = "id")
    private Integer id;

    @Schema(description = "手机号")
    @SensitiveField(type = SensitiveTypeEnum.MOBILE)
    private String mobile;

    @Schema(description = "身份证号")
    @SensitiveField(type = SensitiveTypeEnum.IDENTIFY)
    private String identify;

    @Schema(description = "银行卡号")
    @SensitiveField(type = SensitiveTypeEnum.BANKCARD)
    private String bankcard;

    @Schema(description = "邮箱")
    @SensitiveField(type = SensitiveTypeEnum.EMAIL)
    private String email;

    @Schema(description = "中文姓名")
    @SensitiveField(type = SensitiveTypeEnum.CHINESE_NAME)
    private String chineseName;
}
